package com.salts.Dao;

import com.salts.domain.po.UserInfo;
import com.salts.domain.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper {
    UserInfo selectUserInfo(Integer userId);

    Integer selectByPrimaryKey(Integer userId);

    UserInfo queryUserInfo(Integer userId);
    UserInfo selectByOpenId(String wxOpenId);

    Integer insertWxUser(String username, String avatar, String wxOpenId);

    Integer updateWxUser(String username, String avatar, String wxOpenId);

    Integer updateUserInfo(UserInfo user);
}
